package com.tencent.product.service;

import com.tencent.basic.util.AjaxResult;
import com.tencent.product.domain.Product;
import com.tencent.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Oswald
 * @since 2022-09-09
 */
public interface IProductService extends IBaseService<Product> {

    AjaxResult onsale(List<Long> ids, HttpServletRequest request);

    void offsale(List<Long> ids, HttpServletRequest request);
}
